import React from "react";
import UcButton from './uc-button'

export default class UcButtonTest extends React.Component {
    state = {};
    render() {
        return (
            <div>
                <h3>测试</h3>
                <hr />
                <UcButton></UcButton>
                <hr />
                <UcButton size='large' />
                <hr />
                <UcButton size='small' />
                <hr />
                <UcButton type="circ" >正</UcButton>
                <UcButton type="circ" size='large'>大</UcButton>
                <UcButton type="circ" size="small">小</UcButton>
                <hr />
                <UcButton onClick={ev => console.log('提交', ev)}>提交</UcButton>
                <hr />
                <UcButton style={{ background: 'red' }}>购买</UcButton>
                <hr />
                <UcButton disabled onClick={ev => console.log('提交', ev)}>禁用</UcButton>
            </div >
        )
    }
}